package com.five.system.service;

import com.five.basic.result.PageList;
import com.five.basic.service.BaseService;
import com.five.pojo.Menu;

import java.util.List;

public interface MenuService extends BaseService<Menu> {

    PageList<Menu> queryPage(Menu menu);

    List<Menu> queryMenuTree();

    Integer queryCountByParent();

    Integer queryCountByParentId(Long parentId);

    List<Menu> queryTree();

    List<Long> queryMenusView(Long id);

    List<Menu> queryByUserId(Long id);
}
